Optimal. Leaf size=40 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{\sqrt{b} d \sqrt{a-b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0468252, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {3186, 205} \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{\sqrt{b} d \sqrt{a-b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3186
Rule 205
Rubi steps
\begin{align*} \int \frac{\sinh (c+d x)}{a+b \sinh ^2(c+d x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{a-b+b x^2} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{\sqrt{a-b} \sqrt{b} d}\\ \end{align*}
Mathematica [C] time = 0.12318, size = 91, normalized size = 2.28 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b}-i \sqrt{a} \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a-b}}\right )+\tan ^{-1}\left (\frac{\sqrt{b}+i \sqrt{a} \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a-b}}\right )}{\sqrt{b} d \sqrt{a-b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 51, normalized size = 1.3 \begin{align*}{\frac{1}{d}\arctan \left ({\frac{1}{4} \left ( 2\, \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}a-2\,a+4\,b \right ){\frac{1}{\sqrt{ab-{b}^{2}}}}} \right ){\frac{1}{\sqrt{ab-{b}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh \left (d x + c\right )}{b \sinh \left (d x + c\right )^{2} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.01602, size = 1293, normalized size = 32.32 \begin{align*} \left [-\frac{\sqrt{-a b + b^{2}} \log \left (\frac{b \cosh \left (d x + c\right )^{4} + 4 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + b \sinh \left (d x + c\right )^{4} - 2 \,{\left (2 \, a - 3 \, b\right )} \cosh \left (d x + c\right )^{2} + 2 \,{\left (3 \, b \cosh \left (d x + c\right )^{2} - 2 \, a + 3 \, b\right )} \sinh \left (d x + c\right )^{2} + 4 \,{\left (b \cosh \left (d x + c\right )^{3} -{\left (2 \, a - 3 \, b\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) - 4 \,{\left (\cosh \left (d x + c\right )^{3} + 3 \, \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{2} + \sinh \left (d x + c\right )^{3} +{\left (3 \, \cosh \left (d x + c\right )^{2} + 1\right )} \sinh \left (d x + c\right ) + \cosh \left (d x + c\right )\right )} \sqrt{-a b + b^{2}} + b}{b \cosh \left (d x + c\right )^{4} + 4 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + b \sinh \left (d x + c\right )^{4} + 2 \,{\left (2 \, a - b\right )} \cosh \left (d x + c\right )^{2} + 2 \,{\left (3 \, b \cosh \left (d x + c\right )^{2} + 2 \, a - b\right )} \sinh \left (d x + c\right )^{2} + 4 \,{\left (b \cosh \left (d x + c\right )^{3} +{\left (2 \, a - b\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) + b}\right )}{2 \,{\left (a b - b^{2}\right )} d}, \frac{\sqrt{a b - b^{2}} \arctan \left (-\frac{b \cosh \left (d x + c\right )^{3} + 3 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{2} + b \sinh \left (d x + c\right )^{3} +{\left (4 \, a - 3 \, b\right )} \cosh \left (d x + c\right ) +{\left (3 \, b \cosh \left (d x + c\right )^{2} + 4 \, a - 3 \, b\right )} \sinh \left (d x + c\right )}{2 \, \sqrt{a b - b^{2}}}\right ) - \sqrt{a b - b^{2}} \arctan \left (-\frac{\sqrt{a b - b^{2}}{\left (\cosh \left (d x + c\right ) + \sinh \left (d x + c\right )\right )}}{2 \,{\left (a - b\right )}}\right )}{{\left (a b - b^{2}\right )} d}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]